package com.glp.dao.custom;

import com.glp.dao.generator.GlpReportMapper;
import com.glp.pojo.Report;
import com.glp.pojo.dto.ReportDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ReportMapper extends GlpReportMapper {
    List<ReportDTO> selectByStatus(Integer status);

    List<ReportDTO> selectByStatusAndUId(@Param("status") Integer status,@Param("uid") Integer uid);

    List<ReportDTO> selectRatifyPass();

    int updateStatusByKey(@Param("reportId") Integer reportId,@Param("status") Integer status);

    Report selectByUUid(String uuid);
}